import { IUser } from "./IUser";
import { ITag } from './ITag';
export interface IArcticle {
  id: string,
  bg: string,
  title: string,
  user: IUser,
  createTime: string,
  desc: string,
}

export interface INotArticle {
  id: string,
  title: string,
  createTime: string,
}


export interface IArcticleList {
  id: string,
  title: string,
  answerCount: number,//回答
  readCount: number,//阅读
  user: IUser,
  createTime: string,
  desc: string,
  tags: ITag[],
}

export interface IArcticleDetails {
  id: string,
  title: string,
  user: IUser,
  content: string,
  createTime: string,
  liveCount: number,//点赞数量
  tags: ITag[],
  readCount: number,
  interest?: number,//关注
  collect?: boolean,//收藏
};